package com.example.universitylibraryback.event;

public class NewBookArrivalEvent extends LibraryEvent {
    private String bookIsbn;
    private String bookTitle;
    private String bookAuthor;
    private Integer quantity;
    
    public NewBookArrivalEvent(String bookIsbn, String bookTitle, String bookAuthor, Integer quantity) {
        super("NEW_BOOK_ARRIVAL");
        this.bookIsbn = bookIsbn;
        this.bookTitle = bookTitle;
        this.bookAuthor = bookAuthor;
        this.quantity = quantity;
    }
    
    // getters and setters
    public String getBookIsbn() {
        return bookIsbn;
    }
    
    public void setBookIsbn(String bookIsbn) {
        this.bookIsbn = bookIsbn;
    }
    
    public String getBookTitle() {
        return bookTitle;
    }
    
    public void setBookTitle(String bookTitle) {
        this.bookTitle = bookTitle;
    }
    
    public String getBookAuthor() {
        return bookAuthor;
    }
    
    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }
    
    public Integer getQuantity() {
        return quantity;
    }
    
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
}